package yiyuan.code.filedemo.file.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 其他实体与文件的关系枚举
 * @author zj
 */
public class FileDependEnum {
    @Getter
    @AllArgsConstructor
    public enum QuoteType {
        //业务类型
        ENTERPRISE_LEADER_IDCARD("a1", "企业-法人身份证"),
        ENTERPRISE_BUSINESS_LICENSE("a2", "企业-营业执照"),
        ENTERPRISE_QUALIFILE("a3", "企业-法人资格证书"),
        SETTLEDETAIL_CERT("a4", "企业入驻资质明细-证书附件"),
        ENTERPRISE_OTHER("a5", "企业-其他资料"),
        SETTLEDSTATE_UPDATE("b1", "企业资格变更记录-变更附件"),
        TARGETRACKING_END("b1", "主体被执行状态跟踪-完结附件"),
        NORMAL("0", "普通文件"),
        COMPANY_LOGO("1", "企业名录图片"),
        COMPANY_BANNER("2", "企业主页banner"),
        COMPANY_BACK("3", "企业主页背景");
        private String value;
        private String desc;
    }

    @Getter
    @AllArgsConstructor
    public enum State {
        //文件状态
        NORMAL("0", "正常"),
        DELETE("-1", "已逻辑删除");
        private String value;
        private String desc;
    }
}
